package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.FyProjectApplyAncillary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 剧本梗概备案申请附件Mapper接口
 *
 * @author ruoyi
 * @date 2024-02-28
 */
public interface FyProjectApplyAncillaryMapper extends BaseMapper<FyProjectApplyAncillary>
{
    /**
     * 查询剧本梗概备案申请附件
     *
     * @param fyProjectApplyId 剧本梗概备案申请附件主键
     * @return 剧本梗概备案申请附件
     */
    public FyProjectApplyAncillary selectFyProjectApplyAncillaryByFyProjectApplyId(Long fyProjectApplyId);

    /**
     * 查询剧本梗概备案申请附件列表
     *
     * @param fyProjectApplyAncillary 剧本梗概备案申请附件
     * @return 剧本梗概备案申请附件集合
     */
    public List<FyProjectApplyAncillary> selectFyProjectApplyAncillaryList(FyProjectApplyAncillary fyProjectApplyAncillary);

    /**
     * 新增剧本梗概备案申请附件
     *
     * @param fyProjectApplyAncillary 剧本梗概备案申请附件
     * @return 结果
     */
    public int insertFyProjectApplyAncillary(FyProjectApplyAncillary fyProjectApplyAncillary);

    /**
     * 修改剧本梗概备案申请附件
     *
     * @param fyProjectApplyAncillary 剧本梗概备案申请附件
     * @return 结果
     */
    public int updateFyProjectApplyAncillary(@Param("entity") FyProjectApplyAncillary fyProjectApplyAncillary);

    /**
     * 删除剧本梗概备案申请附件
     *
     * @param fyProjectApplyId 剧本梗概备案申请附件主键
     * @return 结果
     */
    public int deleteFyProjectApplyAncillaryByFyProjectApplyId(Long fyProjectApplyId);

    /**
     * 批量删除剧本梗概备案申请附件
     *
     * @param fyProjectApplyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFyProjectApplyAncillaryByFyProjectApplyIds(String[] fyProjectApplyIds);
}
